Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / Range<T> Class / Complement Method
The value to complement the range by.

In This Topic
    Complement Method
    In This Topic
    Returns a range which contains the current range, minus value.
    Syntax
    'Declaration
     
    
    Public Function Complement( _
       ByVal value As Range(Of T) _
    ) As Range(Of T)
    public Range<T> Complement( 
       Range<T> value
    )

    Parameters

    value
    The value to complement the range by.

    Return Value

    The complemented range.
    Exceptions
    ExceptionDescription
    value is null.
    value is contained by this range, complementing would lead to a split range.
    See Also